package com.dhsc.controller.csgl;

import com.dhsc.domain.ywzx.csgl.YwqqglVo;
import com.dhsc.domain.yypt.LayuiTableVo;
import com.dhsc.domain.yypt.ResponseObject;
import com.dhsc.service.csgl.IYwqqglService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName: YwqqglController
 * @Description: 业务请求管理
 * @date: 2023/9/11 15:02
 * @author: gx
 */
@Controller
@RequestMapping("/csgl")
public class YwqqglController {

    @Autowired
    private IYwqqglService ywqqglService;

    /**
    * @Title: queryYwqqgl
    * @Description: 查询业务请求管理
    * @Param: ywqqglVo
    * @return: LayuiTableVo
    * @Author: gx
    * @Date: 2023/9/11 15:08
    */
    @ResponseBody
    @RequestMapping(value="/queryYwqqgl")
    public LayuiTableVo queryYwqqgl(YwqqglVo ywqqglVo){
        return ywqqglService.queryYwqqgl(ywqqglVo);
    }

    /**
     * @Title: saveYwqqgl
     * @Description: 保存业务请求管理
     * @Param: ywqqglVo
     * @return: ResponseObject
     * @Author: gx
     * @Date: 2023/9/11 15:08
     */
    @ResponseBody
    @RequestMapping(value="/saveYwqqgl")
    public ResponseObject saveYwqqgl(YwqqglVo ywqqglVo){
        return ywqqglService.saveYwqqgl(ywqqglVo);
    }

    /**
    * @Title: queryTxtdm
    * @Description: 查询字典qs.txtdm
    * @Param: ywqqglVo
    * @return: LayuiTableVo
    * @Author: gx
    * @Date: 2023/9/12 11:11
    */
    @ResponseBody
    @RequestMapping(value="/queryTxtdm")
    public ResponseObject queryTxtdm(YwqqglVo ywqqglVo){
        return ywqqglService.queryTxtdm(ywqqglVo);
    }
}
